//
// 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.2.8-b130911.1802 生成的
// 请访问 <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// 在重新编译源模式时, 对此文件的所有修改都将丢失。
// 生成时间: 2019.03.12 时间 12:12:00 PM CST 
//


package com.youhome.service.listhub;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>ExistingStructure complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="ExistingStructure">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Category" type="{http://rets.org/xsd/RETSCommons}ExistingStructureCategoryEnum" minOccurs="0"/>
 *         &lt;element name="BuildingType" type="{http://rets.org/xsd/RETSCommons}BuildingType" minOccurs="0"/>
 *         &lt;element name="StructureDimensionsType" type="{http://rets.org/xsd/RETSCommons}PlanarDimensionsType" minOccurs="0"/>
 *         &lt;element name="Description" type="{http://rets.org/xsd/RETSCommons}SecureString" minOccurs="0"/>
 *         &lt;element name="ConstructionMaterials" type="{http://rets.org/xsd/RETSCommons}ConstructionMaterials" minOccurs="0"/>
 *         &lt;any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ExistingStructure", propOrder = {
    "category",
    "buildingType",
    "structureDimensionsType",
    "description",
    "constructionMaterials",
    "any"
})
public class ExistingStructure {

    @XmlElement(name = "Category")
    protected ExistingStructureCategoryEnum category;
    @XmlElement(name = "BuildingType")
    protected BuildingType buildingType;
    @XmlElement(name = "StructureDimensionsType")
    protected PlanarDimensionsType structureDimensionsType;
    @XmlElement(name = "Description")
    protected SecureString description;
    @XmlElement(name = "ConstructionMaterials")
    protected ConstructionMaterials constructionMaterials;
    @XmlAnyElement(lax = true)
    protected List<Object> any;

    /**
     * 获取category属性的值。
     * 
     * @return
     *     possible object is
     *     {@link ExistingStructureCategoryEnum }
     *     
     */
    public ExistingStructureCategoryEnum getCategory() {
        return category;
    }

    /**
     * 设置category属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link ExistingStructureCategoryEnum }
     *     
     */
    public void setCategory(ExistingStructureCategoryEnum value) {
        this.category = value;
    }

    /**
     * 获取buildingType属性的值。
     * 
     * @return
     *     possible object is
     *     {@link BuildingType }
     *     
     */
    public BuildingType getBuildingType() {
        return buildingType;
    }

    /**
     * 设置buildingType属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link BuildingType }
     *     
     */
    public void setBuildingType(BuildingType value) {
        this.buildingType = value;
    }

    /**
     * 获取structureDimensionsType属性的值。
     * 
     * @return
     *     possible object is
     *     {@link PlanarDimensionsType }
     *     
     */
    public PlanarDimensionsType getStructureDimensionsType() {
        return structureDimensionsType;
    }

    /**
     * 设置structureDimensionsType属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link PlanarDimensionsType }
     *     
     */
    public void setStructureDimensionsType(PlanarDimensionsType value) {
        this.structureDimensionsType = value;
    }

    /**
     * 获取description属性的值。
     * 
     * @return
     *     possible object is
     *     {@link SecureString }
     *     
     */
    public SecureString getDescription() {
        return description;
    }

    /**
     * 设置description属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link SecureString }
     *     
     */
    public void setDescription(SecureString value) {
        this.description = value;
    }

    /**
     * 获取constructionMaterials属性的值。
     * 
     * @return
     *     possible object is
     *     {@link ConstructionMaterials }
     *     
     */
    public ConstructionMaterials getConstructionMaterials() {
        return constructionMaterials;
    }

    /**
     * 设置constructionMaterials属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link ConstructionMaterials }
     *     
     */
    public void setConstructionMaterials(ConstructionMaterials value) {
        this.constructionMaterials = value;
    }

    /**
     * Gets the value of the any property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the any property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getAny().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Object }
     * 
     * 
     */
    public List<Object> getAny() {
        if (any == null) {
            any = new ArrayList<Object>();
        }
        return this.any;
    }

}
